package com.ruyi.afterdemo.po;


import com.example.comm.comm.PoExtender;
//import javax.persistence.Id;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;


/**
 * The persistent class for the TMonitorData database table.
 *
 * @author Raines
 */
@Entity
@Table(name = "o_contact", schema = "application", catalog = "")
@NamedQuery(name = "OContact.findAll", query = "SELECT t FROM OContact t")
public class OContact extends PoExtender implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private int id;

    private String name;

    //	@Column(name="gps_code")
    private String email;

    private String phone;

    private String message;

    @Column(name = "create_time")
    private Timestamp createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
}